PV-on-HVML: Remove extra parentheses in netif_tx_lock_bh and netif_tx_unlock_bh
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 30 Aug 2007 15:13:42 +0000 (16:13 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 30 Aug 2007 15:13:42 +0000 (16:13 +0100)
macros, as it caused problems when compiling against a SLES9 tree.

Signed-off-by: Ben Guthro <bguthro@virtualiron.com>
unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h

index 0caab22bd6dd850ff0a417e9be795875051d0640..ad53d95b791d9261103ebbf35160e3b11c8603e4 100644 (file)
@@ -108,8 +108,8 @@ extern char *kasprintf(gfp_t gfp, const char *fmt, ...)
 #endif
 
 #if defined(_LINUX_NETDEVICE_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
-#define netif_tx_lock_bh(dev) (spin_lock_bh(&(dev)->xmit_lock))
-#define netif_tx_unlock_bh(dev) (spin_unlock_bh(&(dev)->xmit_lock))
+#define netif_tx_lock_bh(dev) spin_lock_bh(&(dev)->xmit_lock)
+#define netif_tx_unlock_bh(dev) spin_unlock_bh(&(dev)->xmit_lock)
 #endif
 
 #if defined(__LINUX_SEQLOCK_H) && !defined(DEFINE_SEQLOCK)